package cn.hls.service;

import cn.hls.entity.Person;
import cn.hls.entity.vo.PageInfo;


/**
 *@fileName: PersonDao.java
 *@package: com.bangni.dao
 *@Description:  人员信息Service接口类
 *@author: yinghui.zhang
 *@email: uuhui@163.com
 *@date: 2015-5-1
 */
public interface PersonService extends BaseService<Person> {
	/**
	 * 分页显示人员信息
	 * 
	 * @param entity
	 *            人员对象
	 * @param page
	 *            分页参数
	 * @return Pageinfo<Person>
	 * @throws Exception
	 *             　异常
	 */
	PageInfo<Person> loadPersonInfo(Person entity, PageInfo<Person> page)
			throws Exception;
	/**
	 * 根据编号删除人员信息
	 * @param id 编号
	 * @return boolean
	 * @throws Exception 异常
	 */
	boolean deletePerson(Integer id)throws Exception;
}
